package com.zjff.myshop.mapper;

import com.zjff.myshop.entity.Home;

import java.util.HashMap;
import java.util.List;

public interface HomeMapper {
    int insert(Home home);

    int deleteByPrimaryKey(Integer id);

    int deleteBatch(Integer[] ids);

    int update(Home home);

    Home selectByPrimaryKey(Integer id);

    Home selectByMap(HashMap map);

    List<HashMap<String, Object>> selectCarouselVOList(HashMap map);

    List<HashMap<String, Object>> selectGoodsVOList(HashMap map);

}